<?php
/* @var $this AdminController */
/* @var $model Admin */
/* @var $form CActiveForm */
?>

<div class="wide form">

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'action' => Yii::app()->createUrl($this->route),
        'method' => 'get',
            ));
    ?>

    <div class="row">
        <?php echo $form->label($model, 'role_id'); ?>
        <?php echo $form->dropDownList($model, 'role_id', array('' => '')+CHtml::listData(Role::model()->findAll(), 'id', 'role_name')); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'user_name'); ?>
        <?php echo $form->textField($model, 'user_name', array('size' => 50, 'maxlength' => 50)); ?>
    </div>


    <div class="row">
        <?php echo $form->label($model, 'user_email'); ?>
        <?php echo $form->textField($model, 'user_email', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'display_name'); ?>
        <?php echo $form->textField($model, 'display_name', array('size' => 50, 'maxlength' => 50)); ?>
    </div>


    <div class="row buttons">
        <?php echo CHtml::submitButton('Search'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- search-form -->